﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Samples.ServiceHosting.StorageClient;

namespace Dtyo_WebRole
{
    public class DtyoDataContext : TableStorageDataServiceContext
    {

        public DtyoDataContext(StorageAccountInfo info)
            : base(info)
        { }

        public IQueryable<Department> Department
        {
                get
            {
                     return this.CreateQuery<Department>("Department");
            }
        }
        public IQueryable<Employee> Employee
        {
            get
            {
                return this.CreateQuery<Employee>("Employee");
            }
        } 
    }
}